-
Home
-
Otter Blocks – Gutenberg Blocks, Page Builder for Gutenberg Editor & FSE
-
2.6.2
-
Code
-
Classes
- LimitedOffers
| Total Complexity |
38 |
| Dependencies |
3 |
| Dependents |
2 |
| Total lines |
325 |
| Lines of code |
182 |
| Logical lines of code |
58 |
| Comment lines |
99 |
| Methods |
14 |
| Properties |
4 |
Methods 14
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| get_remaining_time_for_deal() |
A |
50 |
13 |
25 |
| render_notice() |
S |
42 |
3 |
81 |
| __construct() |
S |
63 |
5 |
11 |
| is_deal_active() |
S |
69 |
3 |
6 |
| disable_notification_ajax() |
S |
66 |
3 |
7 |
| check_date_range() |
S |
69 |
2 |
6 |
| has_priority() |
S |
66 |
2 |
8 |
| get_localized_data() |
S |
63 |
1 |
11 |
| load_dashboard_hooks() |
S |
72 |
1 |
5 |
| is_active() |
S |
80 |
1 |
3 |
| activate_bff() |
S |
64 |
1 |
9 |
| get_active_deal() |
S |
82 |
1 |
3 |
| can_show_dashboard_banner() |
S |
78 |
1 |
3 |
| add_priority() |
S |
76 |
1 |
4 |